package com.numberone.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzc
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ly_server_info")
public class ServerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("cpuUsage")
    private String cpuUsage;

    @TableField("setCpuUsage")
    private String setCpuUsage;

    @TableField("jvmUsage")
    private String jvmUsage;

    @TableField("setJvmUsage")
    private String setJvmUsage;

    @TableField("ramUsage")
    private String ramUsage;

    @TableField("setRamUsage")
    private String setRamUsage;

    @TableField("email")
    private String email;

    @TableField("operTime")
    private LocalDateTime operTime;

    @TableField("mark")
    private String mark;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public ServerInfo setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getCpuUsage() {
        return cpuUsage;
    }

    public ServerInfo setCpuUsage(String cpuUsage) {
        this.cpuUsage = cpuUsage;
        return this;
    }

    public String getSetCpuUsage() {
        return setCpuUsage;
    }

    public ServerInfo setSetCpuUsage(String setCpuUsage) {
        this.setCpuUsage = setCpuUsage;
        return this;
    }

    public String getJvmUsage() {
        return jvmUsage;
    }

    public ServerInfo setJvmUsage(String jvmUsage) {
        this.jvmUsage = jvmUsage;
        return this;
    }

    public String getSetJvmUsage() {
        return setJvmUsage;
    }

    public ServerInfo setSetJvmUsage(String setJvmUsage) {
        this.setJvmUsage = setJvmUsage;
        return this;
    }

    public String getRamUsage() {
        return ramUsage;
    }

    public ServerInfo setRamUsage(String ramUsage) {
        this.ramUsage = ramUsage;
        return this;
    }

    public String getSetRamUsage() {
        return setRamUsage;
    }

    public ServerInfo setSetRamUsage(String setRamUsage) {
        this.setRamUsage = setRamUsage;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public ServerInfo setEmail(String email) {
        this.email = email;
        return this;
    }

    public LocalDateTime getOperTime() {
        return operTime;
    }

    public ServerInfo setOperTime(LocalDateTime operTime) {
        this.operTime = operTime;
        return this;
    }

    public String getMark() {
        return mark;
    }

    public ServerInfo setMark(String mark) {
        this.mark = mark;
        return this;
    }
}
